<script>
  init({
    title: 'Custom Eye Class',
    desc: 'Use <code>eyeOpenClass</code> and <code>eyeCloseClass</code> to set the open/close eye icon class.',
    scripts: ['bootstrap-show-password.min.js']
  })
</script>

<input
  data-toggle="password"
  data-eye-open-class="fa-toggle-off"
  data-eye-close-class="fa-toggle-on"
  class="form-control"
  type="password"
  placeholder="Enter the password">
